home *** CD-ROM | disk | FTP | other *** search
/ Computer Life: SuperPac / SuperPac (Computer Life Magazine)(Ziff-Davis)(1995).ISO / pc / demos / usoft / 16 / xpldmo6.exe / xpldmo6.DXR / 00205.ls < prev    next >
Encoding:
Text File  |  1994-09-24  |  507 b   |  32 lines

  1. on waitFor numSecs
  2.   set now to the timer
  3.   repeat while the timer < (now + (numSecs * 60))
  4.     if the mouseDown then
  5.       exit
  6.     end if
  7.   end repeat
  8. end
  9.  
  10. on checkSCard
  11.   global theSCardOK
  12.   if soundBusy(1) = 1 then
  13.     set theSCardOK to 0
  14.   else
  15.     set theSCardOK to 2
  16.   end if
  17. end
  18.  
  19. on waitSound thisone
  20.   global theSCardOK
  21.   updateStage()
  22.   if theSCardOK = 0 then
  23.     if soundBusy(1) = 0 then
  24.       go(the frame + 1)
  25.     else
  26.       go(the frame)
  27.     end if
  28.   else
  29.     waitFor(theSCardOK)
  30.   end if
  31. end
  32.